package com.xh.bussiness.tiku.model;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生信息表
 * </p>
 *
 * @author daiwei
 * @since 2019-02-25
 */
@Data
@Accessors(chain = true)
public class Book implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	private String id;

	/**
	 * 名称
	 */
	private String name;
	/**
	 * 描述
	 */
	private String desc;
	/**
	 * 年级id
	 */
	private String gradeId;
	/**
	 * 年级名次
	 */
	private String gradeName;
	/**
	 * 学期id
	 */
	private String termId;
	/**
	 * 学期名称
	 */
	private String termName;
	/**
	 * 版本id
	 */
	private String versionId;
	/**
	 * 版本名称
	 */
	private String versionName;
	/**
	 * 章节
	 */
	private List<Chapter> chapters;
	
	public Book() {
		super();
	}
	
	public Book(String id, String name, String desc, String gradeId, String gradeName, String termId, String termName,
			String versionId, String versionName, List<Chapter> chapters) {
		super();
		this.id = id;
		this.name = name;
		this.desc = desc;
		this.gradeId = gradeId;
		this.gradeName = gradeName;
		this.termId = termId;
		this.termName = termName;
		this.versionId = versionId;
		this.versionName = versionName;
		this.chapters = chapters;
	}

	
}
